/* 
 * File:   JAdapterRecv.h
 * Author: johnneyshi
 *
 * Created on 2013年3月5日, 上午11:58
 */

#ifndef JADAPTERRECV_H
#define	JADAPTERRECV_H

#include "JServerMaster.h"
struct AdapterThreadArg;

class JAdapterRecv {
public:
    JAdapterRecv(AdapterThreadArg* _pArg);
    void Start();
    virtual ~JAdapterRecv();
private:
    int GetToMasterConnFd();
    int GetToWorkerConnFd();
    AdapterThreadArg* pArg;
};

#endif	/* JADAPTERRECV_H */

